<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
	input {
		outline: none;
	}
	input:focus {
		background-color: pink;
		border: 1px solid red;
		height: 30px;
	}
	</style>
</head>
<body>
	<input type="text">
</body>
</html>